package com.example.homework3mybatis.mapper;

import com.example.homework3mybatis.entity.Employee;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;


import java.util.List;

@Mapper
public interface EmployeeMapper {
    int deleteById(Integer id);

    int insert(Employee record);

    Employee findOneById(String id);

    int update(Employee record);

    List<Employee> findAll();
    Page<Employee> findByPage();
}